package com.xyf.sys.mapper;

import com.xyf.sys.domain.OrderProfitsharing;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface OrderProfitsharingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderProfitsharing record);

    int insertSelective(OrderProfitsharing record);

    OrderProfitsharing selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderProfitsharing record);

    int updateByPrimaryKey(OrderProfitsharing record);

    List<OrderProfitsharing> selectByOrderIdAndOutOrderNo(@Param("orderId") String orderId, @Param("outOrderNo") String outOrderNo);
}